home *** CD-ROM | disk | FTP | other *** search
- In standard, enhanced and real mode without EMS, STATUS displays the same
- free memory values like the "About" boxes of Windows itself.
-
- But in real mode with large-frame EMS it displays three values:
-
- 1. "Global memory"
-
- This is the memory available below the EMS-line. It is a system-wide
- ressource that is shared among all tasks. If it is exhausted, no new
- tasks can be started. This value is reduced with growing system load.
- Dynalink-Libraries that are shared among several applications (such
- as the Windows device drivers) are loaded into this area.
-
- 2. "Bankswitch memory"
-
- This is the memory available for the Global Heap for EACH task.
- Private code and data segments are allocated in this area of memory.
- As each task allocates global memory, pages from the available EMS
- are mapped into this space. When Windows switches to another task,
- the global heap is switched to that of the new task. This size
- remains constant even under heavy system load. It determines the
- maximum size of the global heap of each single application and includes
- the memory above the EMS line and the extra 64k page frame that is
- normally located in the address range D000-EFFF. Some Windows 2.x
- applications in addition can use EMS (3.2) directly to overcome this
- data size restriction.
-
- 3. "Available EMS pages"
-
- This is the amount of unassigned EMS pages that will be used for
- the global heap when new applications are started. If it is
- exhausted, no new tasks can be started. This value is reduced
- with growing system load.
-
- In this mode, the Windows "About" box seems to display the sum of the
- global and bankswitch memory sizes reduced by the size of the EMS page
- frame.
-
- When running real mode with small-frame EMS (rather unusual for
- Windows), these three values are changed a bit: the global memory
- includes all memory below the 640k border and the bankswitch memory
- includes only the EMS page frame (about 60k of it). This mode differs
- from large-frame EMS in that the global heaps of ALL tasks share the
- global memory. Only special EMS-aware applications can take advantage
- of EMS in this mode (Excel, for example).
-